﻿<navigation:Page x:Class="SilveR.DataPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="ΣilveR - Data"
    Style="{StaticResource PageStyle}" NavigationCacheMode="Required" SizeChanged="Page_SizeChanged">

    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/SilveR;component/Assets/SilverBackground.png" Stretch="None" />
        </Grid.Background>
        <StackPanel Loaded="StackPanel_Loaded">
            <StackPanel.Resources>
                <Storyboard x:Name="textAnimation" >
                    <DoubleAnimation Storyboard.TargetName="startText" Storyboard.TargetProperty="FontSize" BeginTime="0" Duration="0:0:08" From="2" To="14"  />
                </Storyboard>
            </StackPanel.Resources>
            
            <toolkit:DockPanel>
                <Button Content="Load Data" Height="23" toolkit:DockPanel.Dock="Left" HorizontalAlignment="Left" Margin="3,3,3,3" Name="btnLoad" VerticalAlignment="Center" Width="75" Click="btnLoad_Click" />
                <Button Content="Close" Height="23" toolkit:DockPanel.Dock="Right" HorizontalAlignment="Right" Margin="3,3,3,3" Name="btnClose" VerticalAlignment="Center" Width="75" Click="btnClose_Click" IsEnabled="False" />
            </toolkit:DockPanel>
            
            <controls:TabControl Name="tabControlData" Visibility="Collapsed">
            </controls:TabControl>
            
            <TextBlock x:Name="startText" Text="Click 'Load Data' to get your data into ƩilveR" FontSize="2"  Margin="9" Foreground="DarkSlateBlue"/>
        </StackPanel>
    </Grid>

</navigation:Page>